import React from 'react'

const Loader = ({message}) => {
    return (
        // fragment 文档碎片
        <div className='loader'>
            <img src="" alt="loading"/>
            <h2>{message}</h2>
        </div>
    )
}

export default Loader;